<?php

function show_text_block($params) 
{ 
	$block = new Block($params['id']);
	return $block->text();
} 

$smarty->register_function("block", "show_text_block"); 

?>